package com.example.mongo.Model.bean;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.stereotype.Component;
import lombok.Data;

import java.io.Serializable;

@Data
@Component
@Document("menu")
public class Menu implements Serializable {
    @Id
    private String id;
    public int comicId;
    public String title;
    public String comicImgUrl;
    public String desc;
    public String comicType;
    public int seq;
    public int clickCount;
    public int collectionCount;
   }
